package com.jack.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.jack.dto.OrderDto;

public interface OrderService {

	OrderDto create(OrderDto orderDto);

	OrderDto findOne(String orderId);

	Page<OrderDto> findList(String buyerOpenid, Pageable pageable);

	OrderDto cancel(OrderDto orderDto);
	
	OrderDto finish(OrderDto orderDto);
	
	OrderDto paid(OrderDto orderDto);

}
